package edu.nwpu.pojo;

public class FoodCount {
    //为了dao层接口的实现映射
    private Long foodCountId;
    
    private Long orderId;

    private Food food;

    private Integer num;

    public FoodCount() {
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Food getFood() {
        return food;
    }

    public void setFood(Food food) {
        this.food = food;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Long getFoodCountId() {
        return foodCountId;
    }

    public void setFoodCountId(Long foodCountId) {
        this.foodCountId = foodCountId;
    }

    @Override
    public String toString() {
        return "FoodCount{" +
                "orderId=" + orderId +
                ", food=" + food +
                ", num=" + num +
                '}';
    }
}
